.react-contextmenu-wrapper {
  position: relative;
  float: left;
  width: 33.2%;
  height: 33.3%;
  margin-right: 1px;
  margin-bottom: 1px;
  overflow: hidden;

  &:hover {
    .img_name {
      transform: translateY(35px);
    }
  }

  .img {
    width: 100%;
    height: 100%;
  }

  .img_name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 32px;
    line-height: 32px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0 0 0 2px;
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    pointer-events: none;
    transition: transform 0.3s linear;
  }
}
